<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
    <head>
        <title><?php echo $title_for_layout; ?></title>

        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">

        <!-- Google Font: Open Sans -->
        <?php echo $this->Html->css("http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,800,800italic"); ?>
        <?php echo $this->Html->css("http://fonts.googleapis.com/css?family=Oswald:400,300,700"); ?>

        <!-- Font Awesome CSS -->
        <?php echo $this->Html->css("/css/font-awesome.min.css"); ?>

        <!-- Bootstrap CSS -->
        <?php echo $this->Html->css("/css/bootstrap.min.css"); ?>

        <!-- App CSS -->
        <?php echo $this->Html->css("/css/admin.css"); ?>
        <?php echo $this->Html->css("/css/mvpready-admin.css"); ?>
        <?php echo $this->Html->css("/css/mvpready-flat.css"); ?>
        <!-- <link href="./custom.css" rel="stylesheet">-->

        <!-- Favicon -->
        <link rel="shortcut icon" href="favicon.ico">

        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
        <script>
            var request = {};
            request.url = <?php echo json_encode($this->Html->url('/', true)); ?>;
            request.params = <?php echo json_encode($this->request->params); ?>;
        </script>
    </head>

    <body class=" ">

        <div id="wrapper">

            <header class="navbar navbar-inverse" role="banner" style="padding: 10px;">

                <div class="container-fluid">

                    <div class="navbar-header">
                        <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".navbar-collapse">
                            <span class="sr-only">Toggle navigation</span>
                            <i class="fa fa-cog"></i>
                        </button>

                        <a href="index.html" class="navbar-brand navbar-brand-img">
                            <?php echo $this->Html->image('/img/logo.png', array('alt' => 'Agência Voxel')); ?>
                        </a>
                    </div> <!-- /.navbar-header -->
                </div> <!-- /.container-fluid -->
            </header>



            <div class="content">
                <div class="container-fluid">

                    <?php echo $this->Session->flash(); ?>
                    <div class="clearfix"></div>
                    <?php echo $this->fetch('content'); ?>
                    <div class="clearfix"></div>
                </div>

            </div> <!-- .content -->

        </div> <!-- /#wrapper -->

        <footer class="footer">
            <div class="container-fluid">
                <p class="pull-left">Copyright &copy; 2014 Agência Voxel.</p>
            </div>
        </footer>


        <!-- Bootstrap core JavaScript
        ================================================== -->
        <?php echo $this->fetch('css'); ?>
        <!-- Core JS -->
        <?php echo $this->Html->script('/js/libs/jquery-1.10.2.min.js'); ?>
        <?php echo $this->Html->script('/js/libs/bootstrap.min.js'); ?>

        <!--[if lt IE 9]>
        <?php echo $this->Html->script('/js/js/libs/excanvas.compiled.js'); ?>
        <![endif]-->

        <!-- App JS -->
        <?php echo $this->Html->script('/js/mvpready-core.js'); ?>
        <?php echo $this->Html->script('/js/mvpready-admin.js'); ?>
        <?php echo $this->Html->script('/js/admin.js'); ?>

        <?php echo $this->fetch('script'); ?>
        <?php echo $this->element('sql_dump'); ?>
    </body>
</html>
